package com.sx.service;

import com.github.pagehelper.PageInfo;
import com.sx.domain.PromotionAd;
import com.sx.domain.PromotionAdVo;

import java.util.List;

public interface PromotionAdService {
    /**
     * 分页查询广告信息
     */

    public PageInfo<PromotionAd> findPromotionAdByPage(PromotionAdVo promotionAdVo);

    /**
     * g广告上下线
     */

    public void updatePromotionAdStatus(int id , int status);

    /**
     * 新增广告
     */
    public void savePromotionAd(PromotionAd promotionAd);
    /**
     * 修改广告
     */
    public void updatePromotionAd(PromotionAd promotionAd);

    /**
     * 修改回显广告信息接口
     */
    public PromotionAd updatePromotionAdById(Integer id);
}
